package com.example.web.config.enums;

public enum DataSourceEnum {

    DB1("db1"),DB2("db2");

    private String value;

    DataSourceEnum(String value){this.value=value;}

    public String getValue() {
        return value;
    }
    public static void main(String[] args) {
    	System.out.println(DataSourceEnum.DB1);
		System.out.println(DataSourceEnum.DB1.getValue());
	}
}
